// Define the pin for the vibe motor const int vibePin = 0; void setup() { // Set vibePin as an OUTPUT pinMode(vibePin, OUTPUT); } void loop() { // Turn the vibe motor ON digitalWrite(vibePin, HIGH); delay(500); // Wait for 1 second // Turn the vibe motor OFF digitalWrite(vibePin, LOW); delay(500); // Wait for 1 second }